/**
 * 
 */
package org.hotpotmaterial.codegenn2.exception;

import org.springframework.security.authentication.AccountStatusException;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author Wenxing
 *
 */
@Data
@EqualsAndHashCode(callSuper=false)
public class TempDisableException extends AccountStatusException {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4723757426444234518L;
	
	private String token;

	public TempDisableException(String msg) {
		super(msg);
	}
	
	public TempDisableException(String token, String msg) {
		super(msg);
		this.token = token;
	}

}
